package com.taobao.org.domain;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.taobao.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;


@Data
public class Shop extends BaseDomain {
    @Excel(name="店铺名称",width = 30)
    private String name;

    @Excel(name="店铺电话",width = 30)
    private String tel;

    @Excel(name="注册日期",width = 30,exportFormat="yyyy-MM-dd")
    private Date registerTime = new Date();
    /**
     * 1: 待审核
     * 2：审核通过
     * 3：激活
     * 4：驳回
     */
    @Excel(name="店铺状态",width = 10)
    private Integer state = 1;

    @Excel(name="店铺地址",width = 50)
    private String address;

    @Excel(name="店铺logo",width = 30)
    private String logo;

    @Excel(name="店长id",width = 20)
    private Long admin_id; // 店长id， 对应employee

    private Employee admin;
}